<?php
/*
Module:		dddate
Version:	20071128a-DAT
File:		run.php
*/
	if(strtoupper($args[0]) == '!QDATE')
  {//!ddate
    cmd_send(prep_text2(dddate($args[1]),$con['buffer']['username']));
 	}//!ddate	
	if(strtoupper($args[0]) == '!DATE')
  {//!date
    cmd_send(prep_text("discordian date:", dddate($args[1])));
	}//!date
	
//register commands 
if(strtoupper($args[0]) == "!COMMANDS")
{
	$COMMANDS=$COMMANDS.", !DATE, !QDATE";
}


?>
